package com.maxus.mini.entity.topic;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.maxus.mini.common.VersionedAuditableIdEntity;

/**
 * 话题
 * 
 * @author wujinsong
 *
 */
@Entity
@Table(name = "ex_topic")
public class Topic extends VersionedAuditableIdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2289942401582743917L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Override
	public Long getId() {
		return id;
	}

	/**
	 * 话题名称
	 */
	private String name;

	/**
	 * 话题icon
	 */
	private String icon;

	/**
	 * 话题介绍
	 */
	private String intro;

	/**
	 * 排序
	 */
	private int seq;

	/**
	 * 宽度
	 */
	private float width;

	/**
	 * 高度
	 */
	private float height;
	
	/**
	 * 状态
	 */
	private Integer status;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public float getWidth() {
		return width;
	}

	public void setWidth(float width) {
		this.width = width;
	}

	public float getHeight() {
		return height;
	}

	public void setHeight(float height) {
		this.height = height;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
